PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Waveform / Wire Flat Double / xmuzack + mic h - strip lounge.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=1.029 |
| 26 | fWaveScale=4.687 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.200 |
| 30 | fModWaveAlphaEnd=2.000 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.300 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00751 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.300 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.800 |
| 60 | nMotionVectorsY=14.400 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=5.000 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=0 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=1 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=1 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.460 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=1.99863 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=0.48364 |
| 139 | shapecode_0_r=0.900 |
| 140 | shapecode_0_g=0.300 |
| 141 | shapecode_0_b=0.600 |
| 142 | shapecode_0_a=0.070 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=0.400 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shapecode_1_enabled=0 |
| 152 | shapecode_1_sides=4 |
| 153 | shapecode_1_additive=0 |
| 154 | shapecode_1_thickOutline=0 |
| 155 | shapecode_1_textured=0 |
| 156 | shapecode_1_num_inst=1 |
| 157 | shapecode_1_x=0.500 |
| 158 | shapecode_1_y=0.500 |
| 159 | shapecode_1_rad=0.10000 |
| 160 | shapecode_1_ang=0.00000 |
| 161 | shapecode_1_tex_ang=0.00000 |
| 162 | shapecode_1_tex_zoom=1.00000 |
| 163 | shapecode_1_r=1.000 |
| 164 | shapecode_1_g=0.000 |
| 165 | shapecode_1_b=0.000 |
| 166 | shapecode_1_a=1.000 |
| 167 | shapecode_1_r2=0.000 |
| 168 | shapecode_1_g2=1.000 |
| 169 | shapecode_1_b2=0.000 |
| 170 | shapecode_1_a2=0.000 |
| 171 | shapecode_1_border_r=1.000 |
| 172 | shapecode_1_border_g=1.000 |
| 173 | shapecode_1_border_b=1.000 |
| 174 | shapecode_1_border_a=0.100 |
| 175 | shapecode_2_enabled=0 |
| 176 | shapecode_2_sides=4 |
| 177 | shapecode_2_additive=0 |
| 178 | shapecode_2_thickOutline=0 |
| 179 | shapecode_2_textured=0 |
| 180 | shapecode_2_num_inst=1 |
| 181 | shapecode_2_x=0.500 |
| 182 | shapecode_2_y=0.500 |
| 183 | shapecode_2_rad=0.10000 |
| 184 | shapecode_2_ang=0.00000 |
| 185 | shapecode_2_tex_ang=0.00000 |
| 186 | shapecode_2_tex_zoom=1.00000 |
| 187 | shapecode_2_r=1.000 |
| 188 | shapecode_2_g=0.000 |
| 189 | shapecode_2_b=0.000 |
| 190 | shapecode_2_a=1.000 |
| 191 | shapecode_2_r2=0.000 |
| 192 | shapecode_2_g2=1.000 |
| 193 | shapecode_2_b2=0.000 |
| 194 | shapecode_2_a2=0.000 |
| 195 | shapecode_2_border_r=1.000 |
| 196 | shapecode_2_border_g=1.000 |
| 197 | shapecode_2_border_b=1.000 |
| 198 | shapecode_2_border_a=0.100 |
| 199 | shapecode_3_enabled=0 |
| 200 | shapecode_3_sides=4 |
| 201 | shapecode_3_additive=0 |
| 202 | shapecode_3_thickOutline=0 |
| 203 | shapecode_3_textured=0 |
| 204 | shapecode_3_num_inst=1 |
| 205 | shapecode_3_x=0.500 |
| 206 | shapecode_3_y=0.500 |
| 207 | shapecode_3_rad=0.10000 |
| 208 | shapecode_3_ang=0.00000 |
| 209 | shapecode_3_tex_ang=0.00000 |
| 210 | shapecode_3_tex_zoom=1.00000 |
| 211 | shapecode_3_r=1.000 |
| 212 | shapecode_3_g=0.000 |
| 213 | shapecode_3_b=0.000 |
| 214 | shapecode_3_a=1.000 |
| 215 | shapecode_3_r2=0.000 |
| 216 | shapecode_3_g2=1.000 |
| 217 | shapecode_3_b2=0.000 |
| 218 | shapecode_3_a2=0.000 |
| 219 | shapecode_3_border_r=1.000 |
| 220 | shapecode_3_border_g=1.000 |
| 221 | shapecode_3_border_b=1.000 |
| 222 | shapecode_3_border_a=0.100 |
| 223 | per_frame_init_1=n = 0; loop (10000,gmegabuf(n) = 0; megabuf(n) = 0; n+=1); |
| 224 | per_frame_init_2=num_res = 100; MINBPM = 90; MAXBPM = 200; |
| 225 | per_frame_init_3=sax1 = rand(5); sax2 = rand(5); sax3 = rand(5); |
| 226 | per_frame_init_4=r1 = rand(1); r2 = rand(1); j0=j1=j2=0; r4 = rand(2)-1; |
| 227 | per_frame_init_5=index = 1; nstab = int(rand(10))+4;; |
| 228 | per_frame_init_6=r1_ = rand(1); r2_=rand(1); |
| 229 | per_frame_init_7=BMP=100; certain = 2; jrel=0; jtime = 0; smov=0; |
| 230 | per_frame_init_8= |
| 231 | per_frame_init_9=dist = 8; |
| 232 | per_frame_1=dt = 1/fps; |
| 233 | per_frame_2=dec_s = 1-.015*30/fps; dec_m = 1-0.1*30/fps; dec_f = 0.7; |
| 234 | per_frame_3=vol = vol*0.3 + 0.7*(bass_att + mid_att + treb_att)/3; vol_ = vol_*dec_f + (1-dec_f)*vol; |
| 235 | per_frame_4=avg = avg*dec_m + (1-dec_m)*vol; |
| 236 | per_frame_5= |
| 237 | per_frame_6=is_beat = above(vol, 1.75*peak) * above (time, t0+.25); |
| 238 | per_frame_7=t0 = if(is_beat,time,t0); |
| 239 | per_frame_8=peak = if (is_beat, vol, peak*dec_m); |
| 240 | per_frame_9=index = (index + is_beat) %32; |
| 241 | per_frame_10=index2 = (index2 + is_beat*bnot(index))%16; |
| 242 | per_frame_11= |
| 243 | per_frame_12=//biquad lowpass |
| 244 | per_frame_13=fg = BPM/60; Q=1.8; omega = 6.283*min(0.5,fg/fps); tcos = cos (omega); alpha = sin(omega)/(2*Q); |
| 245 | per_frame_14=b0=(1-tcos)/2; b1=1-tcos; b2=(1-tcos)/2; a0=1+alpha; a1=-2*tcos; a2=1-alpha; |
| 246 | per_frame_15=b0a0=b0/a0; b1a0=b1/a0; b2a0=b2/a0; a1a0=a1/a0; a2a0=a2/a0; |
| 247 | per_frame_16=X = vol; LastOut= b0a0*X + b1a0*in1 + b2a0*in2 - a1a0*ou1 - a2a0*ou2; |
| 248 | per_frame_17=in2 =in1; in1 =X; ou2 =ou1; ou1 =LastOut; X =LastOut; |
| 249 | per_frame_18=BiVol=X; |
| 250 | per_frame_19= |
| 251 | per_frame_20=maxind = 0; qavg = 0.1; i=0; |
| 252 | per_frame_21=Excite = (vol-vol_); |
| 253 | per_frame_22=loop (num_res, |
| 254 | per_frame_23= n = i*8; |
| 255 | per_frame_24= Freq = (i/(num_res-1)+minbpm/(maxbpm-minbpm))*(maxbpm-minbpm)/60; |
| 256 | per_frame_25= Feder = sqr(Freq*6.2832); |
| 257 | per_frame_26= megabuf (n+4) = megabuf(n+1); megabuf (n+1) *= 1-0.25*dt; |
| 258 | per_frame_27= EC_Steps = int (10*Freq*dt)+1; |
| 259 | per_frame_28= loop (EC_Steps, // Euler-Cauchy steps |
| 260 | per_frame_29= Kraft = Excite - Feder*megabuf(n + 2) ; |
| 261 | per_frame_30= megabuf (n+1) += Kraft * dt/EC_Steps; |
| 262 | per_frame_31= megabuf (n+2) += megabuf(n+1) * dt/EC_Steps; ); |
| 263 | per_frame_32= beatcos = megabuf(n+1); beatsin = megabuf(n+2)*Freq*6.2832; |
| 264 | per_frame_33= quad = sqrt (pow(beatsin,2) + pow(beatcos,2)); |
| 265 | per_frame_34= megabuf (n+3) = megabuf(n+3) *dec_m + quad* (1-dec_m); |
| 266 | per_frame_35= if (megabuf(n+3) > megabuf (maxind*8+3), maxind =i,0); |
| 267 | per_frame_36= qavg = qavg+pow (megabuf(n+3),2); |
| 268 | per_frame_37= i += 1;); |
| 269 | per_frame_38= |
| 270 | per_frame_39=qavg = sqrt (qavg/num_res); |
| 271 | per_frame_40=qdev = 0; i =0; loop (num_res, qdev += pow(megabuf(i+3)-qavg,2); i += 8; ); |
| 272 | per_frame_41=qdev = sqrt (qdev/num_res); |
| 273 | per_frame_42=BPM = (maxind/(num_res-1)+minbpm/(maxbpm-minbpm))*(maxbpm-minbpm); |
| 274 | per_frame_43= |
| 275 | per_frame_44=m1 = maxind*8; |
| 276 | per_frame_45=certain = certain * dec_m + (1-dec_m) * megabuf(m1+3)/qavg; |
| 277 | per_frame_46=dbl_beat = megabuf(m1+1) * megabuf (m1+4) < 0; |
| 278 | per_frame_47=sgl_beat = dbl_beat * (megabuf (m1+4) < 0); |
| 279 | per_frame_48=pulse = (megabuf(m1+2) > 0)-0.5; |
| 280 | per_frame_49=bcount += dbl_beat;is_rbeat = dbl_beat && (bcount%2==0);bcount2 += is_rbeat; |
| 281 | per_frame_50=trel1 += BPM/60*dt; |
| 282 | per_frame_51= |
| 283 | per_frame_52=trig2 = is_beat && (index%12==0); |
| 284 | per_frame_53=r1 = if (trig2,(rand(17)-1)*0.1,r1); r1_ += min(0.1,max(-0.1, r1-r1_))*dt*5; |
| 285 | per_frame_54=r2 = if (trig2,rand(1)-0.5,r2); r2_ += min(0.1,max(-0.1, r2-r2_))*dt*5; |
| 286 | per_frame_55=r3 = if (trig2,sqrt(vol)*0.7*sin(rand(24)),r3); r30 = r30*dec_m + (1-dec_m)*r3; r3_ += r30*dt; |
| 287 | per_frame_56=r4 = if (trig2, (rand(2)-1)*rand(2), r4); r4_ +=r4*dt; |
| 288 | per_frame_57= |
| 289 | per_frame_58=//Comp PLANE |
| 290 | per_frame_59=ax=-r1_; ay = r3_; az = r2_+j0*jrel; |
| 291 | per_frame_60=c1 = cos(ax); c2 = cos(ay); c3 = cos(az); s1 = sin(ax); s2 = sin(ay); s3 = sin(az); |
| 292 | per_frame_61=q20 = c2*c3; q21 = c2*s3; q22= -s2; |
| 293 | per_frame_62=q23 = s1*s2*c3 - c1*s3; q24 = s1*s2*s3 + c1*c3; q25 = s1*c2; |
| 294 | per_frame_63=q26 = c1*s2*c3 + s1*s3; q27 = c1*s2*s3 - s1*c3; q28 = c1*c2; |
| 295 | per_frame_64=q17 = s2*q24*2; q18 = c2*q24*2; //for Profile |
| 296 | per_frame_65= |
| 297 | per_frame_66=//persp. center |
| 298 | per_frame_67=jscale = min (1.2, pow(125/(1+BPM),2)); |
| 299 | per_frame_68=if (dbl_beat, (j0=rand(2)-1)*jscale; j1=0; j2=((rand(6)-2))*jscale,0); |
| 300 | per_frame_69=jrelv = (certain>6.5-min(avg,2)-jrelv+jtime/8 + 2*(BPM > 160)) ; |
| 301 | per_frame_70=jrel = if(dbl_beat, jrelv,jrel); |
| 302 | per_frame_71=jtime = max(0,if (jrel, jtime + dt, jtime-dt)); |
| 303 | per_frame_72=q7 = sin(r3_/7+r1_*4); q8 = 1.25+sin(r3_*.77+r1_)*.5*c1; //pfusch |
| 304 | per_frame_73=q9 = 10-j2*jrel; //z pos |
| 305 | per_frame_74= |
| 306 | per_frame_75=if ((index2%5==4) && !jrel, dist = min(20,dist+dt*80), dist = max(10,dist-dt*80)); |
| 307 | per_frame_76=dist_ = dist_*dec_m + (1-dec_m)*dist; |
| 308 | per_frame_77= |
| 309 | per_frame_78=q9 = dist_; |
| 310 | per_frame_79= |
| 311 | per_frame_80=trig1 = is_beat && (index%16==0); |
| 312 | per_frame_81=sax1 = if (trig1, rand(12), sax1); |
| 313 | per_frame_82=sax2 = if (trig1, rand(12), sax2); |
| 314 | per_frame_83=sax3 = if (trig1, rand(6), sax3); |
| 315 | per_frame_84=sax4 = if (trig1, rand(1)-0.5, sax4); |
| 316 | per_frame_85=nstab = if (trig1 && (index2%2==0), int(rand(10)*rand(10)+4), nstab); |
| 317 | per_frame_86= |
| 318 | per_frame_87=//delay chain |
| 319 | per_frame_88=n = 100; loop (100, gmegabuf(n)=gmegabuf(n-1); n-=1); gmegabuf(0) = vol; |
| 320 | per_frame_89= |
| 321 | per_frame_90=//resampled delay chain starts at 500. |
| 322 | per_frame_91=n = 0; num = 60/BPM/dt; //Num delay bins auf nstab abbilden |
| 323 | per_frame_92=sca = num/nstab; |
| 324 | per_frame_93=loop (nstab, |
| 325 | per_frame_94= m1 = floor (sca*n); fra = sca*n-m1; |
| 326 | per_frame_95= gmegabuf(500+n) = (1-fra)*gmegabuf(m1) + fra*gmegabuf(m1+1); |
| 327 | per_frame_96=n +=1); |
| 328 | per_frame_97= |
| 329 | per_frame_98=//2nd resampled delay chain starts at 5000. |
| 330 | per_frame_99=n = 0; num = 60/BPM/dt; //Num delay bins auf nstab abbilden |
| 331 | per_frame_100=sca = num/200; |
| 332 | per_frame_101=dec = 0.5; |
| 333 | per_frame_102=loop (200, |
| 334 | per_frame_103= m1 = floor (sca*n); fra = sca*n-m1; |
| 335 | per_frame_104= gmegabuf(5000+n) = dec*gmegabuf(5000+n) + (1-dec)*1.5*sqrt((1-fra)*gmegabuf(m1) + fra*gmegabuf(m1+1)); |
| 336 | per_frame_105=n +=1); |
| 337 | per_frame_106= |
| 338 | per_frame_107=//Now to stabs |
| 339 | per_frame_108=slen = 2; sdia = 0.13; |
| 340 | per_frame_109=n = 100; |
| 341 | per_frame_110=loop (100, |
| 342 | per_frame_111= megabuf(5000+n)=megabuf(5000+n-1); |
| 343 | per_frame_112= megabuf(6000+n)=megabuf(6000+n-1); |
| 344 | per_frame_113= megabuf(7000+n)=megabuf(7000+n-1); |
| 345 | per_frame_114= megabuf(8000+n)=megabuf(8000+n-1); |
| 346 | per_frame_115=n-=1);; |
| 347 | per_frame_116=megabuf (5000) = megabuf(5000)*dec_f + (1-dec_f)*sax1; |
| 348 | per_frame_117=megabuf (6000) = megabuf(6000)*dec_f + (1-dec_f)*sax2; |
| 349 | per_frame_118=megabuf (7000) = megabuf(7000)*dec_f + (1-dec_f)*sax3; |
| 350 | per_frame_119=megabuf (8000) = BiVol; |
| 351 | per_frame_120= |
| 352 | per_frame_121=p = 1; |
| 353 | per_frame_122=loop (2, |
| 354 | per_frame_123= stab = 0; |
| 355 | per_frame_124= loop (nstab, |
| 356 | per_frame_125= xang = megabuf(5000+25*stab/nstab); yang = megabuf(6000+30*stab/nstab); zang = 0; |
| 357 | per_frame_126= dia = megabuf(7000+20*stab/nstab) ; |
| 358 | per_frame_127= c1 = cos(xang); c2 = cos(yang); c3 = cos(zang); |
| 359 | per_frame_128= s1 = sin(xang); s2 = sin(yang); s3 = sin(zang); |
| 360 | per_frame_129= ox = 0; oy = 0; if (p==1, oz = -slen, oz=slen); ; |
| 361 | per_frame_130= mx = ox*c3 - oy*s3; my = ox*s3 + oy*c3; ox = mx; oy = my; |
| 362 | per_frame_131= mx = ox*c2 + oz*s2; mz = - ox*s2 + oz*c2; ox = mx; oz = mz; |
| 363 | per_frame_132= my = oy*c1 - oz*s1; mz = oy*s1 + oz*c1; oy = my; oz = mz; |
| 364 | per_frame_133= x0 = ox+dia/2; y0 = oy; z0 = oz+slen+.1; |
| 365 | per_frame_134= |
| 366 | per_frame_135=x0 += pow(cos(stab/nstab*index2 + trel1*3.1416/2),3)*certain/3; |
| 367 | per_frame_136=z0 += pow(cos(stab/nstab*index2 + trel1*3.1416/3),3)*certain/3; |
| 368 | per_frame_137=x0 += 4*(sax1*certain*q9/10>sax2*24)*pow(sin(trel1*3.146/2+stab/nstab*6.28*2),5); |
| 369 | per_frame_138= |
| 370 | per_frame_139= xang = 0; yang = 0; zang = 6.283 * stab/nstab+r4_; //alle Stebe anordnen |
| 371 | per_frame_140= ox = x0; oy=y0; oz=z0; |
| 372 | per_frame_141= c1 = cos(xang); c2 = cos(yang); c3 = cos(zang); |
| 373 | per_frame_142= s1 = sin(xang); s2 = sin(yang); s3 = sin(zang); |
| 374 | per_frame_143= mx = ox*c3 - oy*s3; my = ox*s3 + oy*c3; ox = mx; oy = my; |
| 375 | per_frame_144= mx = ox*c2 + oz*s2; mz = - ox*s2 + oz*c2; ox = mx; oz = mz; |
| 376 | per_frame_145= my = oy*c1 - oz*s1; mz = oy*s1 + oz*c1; oy = my; oz = mz; |
| 377 | per_frame_146= oz += max(0,certain-2.5)/6*BiVol/(0.2+sqrt(ox*ox+oy*oy)); |
| 378 | per_frame_147= |
| 379 | per_frame_148= base = p*1000+4*stab; |
| 380 | per_frame_149= gmegabuf (base)=ox; |
| 381 | per_frame_150= gmegabuf (base+1)=oy; |
| 382 | per_frame_151= gmegabuf (base+2)=oz; |
| 383 | per_frame_152=stab += 1); |
| 384 | per_frame_153=p += 1); |
| 385 | per_frame_154= |
| 386 | per_frame_155=reg33 = index2%2; |
| 387 | per_frame_156=reg32 = is_beat ; |
| 388 | per_frame_157=q3 = min(vol_,3)*1.5; |
| 389 | per_frame_158=q11 = trel1; |
| 390 | per_frame_159= |
| 391 | per_frame_160=reg10 = nstab; |
| 392 | per_frame_161=reg11 = sdia; //Dicke Stab |
| 393 | per_frame_162=q31 = aspectx; |
| 394 | per_frame_163=q32 = aspecty; |
| 395 | per_frame_164=q19 = min(3,1/pow(avg+0.1,0.7))*1.7; |
| 396 | per_frame_165= |
| 397 | per_frame_166= |
| 398 | per_frame_167=//shape 4 |
| 399 | per_frame_168=r0 = 0.38-0.4*gmegabuf(5000); |
| 400 | per_frame_169=x0 = 0; |
| 401 | per_frame_170=y0 = 0; |
| 402 | per_frame_171=z0 = 2*-r0+0.5; |
| 403 | per_frame_172=reg77 = z0; //fuer shape 4 |
| 404 | per_frame_173=Nenner = q9 + q28*x0 + q26*y0 - q27*z0; |
| 405 | per_frame_174=x = (q7 + q22*x0 + q20*y0 -q21*z0)/Nenner + 0.5; |
| 406 | per_frame_175=y = -(q8 + q25*x0 + q23*y0 -q24*z0 )/Nenner*q32 +0.5; |
| 407 | per_frame_176=q15 = x-0.5; q16 = y-0.5; |
| 408 | per_frame_177= |
| 409 | per_frame_178=z0 = -z0; |
| 410 | per_frame_179=Nenner = q9 + q28*x0 + q26*y0 - q27*z0; |
| 411 | per_frame_180=x = (q7 + q22*x0 + q20*y0 -q21*z0)/Nenner + 0.5; |
| 412 | per_frame_181=y = -(q8 + q25*x0 + q23*y0 -q24*z0 )/Nenner*q32 +0.5; |
| 413 | per_frame_182=q5 = x-0.5; q6 = y-0.5; |
| 414 | per_frame_183= |
| 415 | per_frame_184=//back light comp |
| 416 | per_frame_185=circ = (index2%3==0); |
| 417 | per_frame_186=if (circ, |
| 418 | per_frame_187=x0 = sin (trel1*3.14/2)*100; |
| 419 | per_frame_188=y0 = cos (trel1*3.14/2)*100; |
| 420 | per_frame_189=, |
| 421 | per_frame_190=x0 = sin (bcount*3.14/2+r1)*100; |
| 422 | per_frame_191=y0 = cos (bcount*3.14/2+r1)*100; |
| 423 | per_frame_192=); |
| 424 | per_frame_193= |
| 425 | per_frame_194=z0 = 10 + 7*sin(time*0.1); |
| 426 | per_frame_195=Nenner = q9 + q28*x0 + q26*y0 - q27*z0; |
| 427 | per_frame_196=x = (q7 + q22*x0 + q20*y0 -q21*z0)/Nenner + 0.5; |
| 428 | per_frame_197=y = -(q8 + q25*x0 + q23*y0 -q24*z0 )/Nenner*q32 +0.5; |
| 429 | per_frame_198=q1 = x-0.5; q2 = y-0.5; |
| 430 | per_frame_199=q31 = nenner > 0; |
| 431 | per_frame_200= |
| 432 | per_frame_201=z0 = -3; |
| 433 | per_frame_202=Nenner = q9 + q28*x0 + q26*y0 - q27*z0; |
| 434 | per_frame_203=x = (q7 + q22*x0 + q20*y0 -q21*z0)/Nenner + 0.5; |
| 435 | per_frame_204=y = -(q8 + q25*x0 + q23*y0 -q24*z0 )/Nenner*q32 +0.5; |
| 436 | per_frame_205=q10 = x-0.5; q12 = y-0.5; |
| 437 | per_frame_206= |
| 438 | per_frame_207=s4 = s4*0.5 + 0.5*(sax4 * (certain*2 > index2)); |
| 439 | per_frame_208=tband += .1*s4*dt; |
| 440 | per_frame_209=q30 = tband; |
| 441 | per_frame_210=monitor = index2; |
| 442 | per_frame_211=monitor = q9; |
| 443 | per_pixel_1=dx = 0; dy = 0; zoom = 1.005; rot = 0.; |
| 444 | warp_1=`shader_body { |
| 445 | warp_2=` |
| 446 | warp_3=`ret = GetPixel(uv)*0.9; |
| 447 | warp_4=`} |
| 448 | comp_1=`shader_body |
| 449 | comp_2=`{ |
| 450 | comp_3=` |
| 451 | comp_4=` |
| 452 | comp_5=` float2 uv_echo2 = (uv - 0.5)*1.000*float2(-1,1) + 0.5; |
| 453 | comp_6=` float3 ret3 = tex2D(sampler_main, uv).xyz*+saturate(GetBlur2(uv)*2.8 - 0.13); |
| 454 | comp_7=` float3 ret4 = tex2D(sampler_main, uv_echo2).xyz*+saturate(GetBlur2(uv_echo2)*2.8 - 0.13); |
| 455 | comp_8=` ret3 = abs(ret3-ret4); |
| 456 | comp_9=` ret3 *= sqrt(ret3); //darken |
| 457 | comp_10=` ret3 *= float3(.9,1.6,2.3); |
| 458 | comp_11=` ret3 *= 3; //gamma |
| 459 | comp_12=` ret3 = pow(ret3,1-ret3); |
| 460 | comp_13=` |
| 461 | comp_14=` |
| 462 | comp_15=`uv *=2 ; |
| 463 | comp_16=`float2 m = floor(frac(uv*0.5)*2); |
| 464 | comp_17=`uv = frac(uv)*(1-m) + (m)*frac(1-uv); |
| 465 | comp_18=` uv = float2(rad,uv.y); |
| 466 | comp_19=` |
| 467 | comp_20=` |
| 468 | comp_21=` float2 uv_echo = (uv.yx - 0.5)*1.000*float2(-1,-1) + 0.5; |
| 469 | comp_22=` ret = tex2D(sampler_main, uv.yx).xyz*+saturate(GetBlur2(uv.yx)*2.8 - 0.13); |
| 470 | comp_23=` float3 ret2 = tex2D(sampler_main, uv_echo).xyz*+saturate(GetBlur2(uv_echo)*2.8 - 0.13); |
| 471 | comp_24=` ret = lerp(ret,ret2,.5); |
| 472 | comp_25=` ret *= ret; //darken |
| 473 | comp_26=` ret *= float3(.9,1.6,2.3); |
| 474 | comp_27=` ret *= 3; //gamma |
| 475 | comp_28=` //ret *= 2; |
| 476 | comp_29=` //ret = pow(ret,5); |
| 477 | comp_30=` ret = .5*lum(ret); |
| 478 | comp_31=` ret = max(ret3,.8*ret.zxy); |
| 479 | comp_32=`} |